<include file="public@header"/>
</head>
<body>
<div class="wrap">
    <form class="well form-inline margin-top-20" method="post" action="{:url('blog/Discountlog/promotionlog')}">
        <input class="form-control" type="text" name="keyword" style="width: 200px;" value="{:input('request.keyword')}" placeholder="活动名称/店铺">
        <input type="submit" class="btn btn-primary" value="搜索"/>
    </form>
    <form method="post" class="js-ajax-form">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th>活动名称</th>
                <td>店铺</td>
                <th>促销价格</th>
                <th>创建时间</th>
            </tr>
            </thead>
            <tbody>
            <php>
                $user_statuses=array("0"=>lang('USER_STATUS_BLOCKED'),"1"=>lang('USER_STATUS_ACTIVATED'),"2"=>lang('USER_STATUS_UNVERIFIED'));
            </php>
           <foreach name="list" item="vo">
                <tr>
                    <td>{$vo.c_plan}</td>
                    <td>{$vo.store_name}</td>
                    <td>{$vo.plog_money}</td>
                    <td>{:date('Y-m-d H:i:s',$vo['plog_time'])}</td>
                </tr>
            </foreach>
            </tbody>
        </table>
        <div class="pagination">{$page}</div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>